OCamllight in Ott

نویسنده

  • Scott Owens
چکیده

OCamllight key points •Written in Ott • Faithful to Objective Caml (very nearly) • Type soundness proof mechanized in HOL (Coq and Isabelle/HOL definitions generated too) • Operational semantics validated on test programs • Small-step operational semantics (131 rules) • Type system (179 rules, below) • definitions: – variant data types (e.g., type t = I of int | C of char), – record types (e.g., type t = {f : int; g : bool}), – parametric type constructors (e.g., type ’a t = C of ’a), – type abbreviations (e.g., type ’a t = ’a * int), – mutually recursive combinations of the above (excepting abbreviations), – exceptions, and values; • expressions for type annotations, sequencing, and primitive values (functions, lists, tuples, and records); • with (record update), if, while, for, assert, try, and raise expressions; • let-based polymorphism with an SML-style value restriction; • mutually-recursive function definitions via let rec; • pattern matching, with nested patterns, as patterns, and “or” (|)patterns; • mutable references with ref, !, and :=; • polymorphic equality (the Objective Caml = operator); • 31-bit word semantics for ints (using an existing HOL library); and • IEEE-754 semantics for floats (using an existing HOL library).

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Sound Semantics for OCamllight

Few programming languages have a mathematically rigorous definition or metatheory—in part because they are perceived as too large and complex to work with. This paper demonstrates the feasibility of such undertakings: we formalize a substantial portion of the semantics of Objective Caml’s core language (which had not previously been given a formal semantics), and we develop a mechanized type so...

متن کامل

Applying the Patents Act to Living Materials in India

Robyn Ott is a third-year law student at the University of Oklahoma College of Law. She is also the Managing Editor of the Oklahoma Journal of Law and Technology for the 2004-2005 academic year. Ms. Ott wrote this eBrief under the direction of Professor Drew Kershen while working on the Project on Intellectual Property Rights in Living Matter. Below, Ms. Ott discusses the legal effect of India’...

متن کامل

One-two-triage: validation and reliability of a novel triage system for low-resource settings

OBJECTIVES To validate and assess reliability of a novel triage system, one-two-triage (OTT), that can be applied by inexperienced providers in low-resource settings. METHODS This study was a two-phase prospective, comparative study conducted at three hospitals. Phase I assessed criterion validity of OTT on all patients arriving at an American university hospital by comparing agreement among ...

متن کامل

Mini-O tt and O tt-2c: Two Novel, Functionally D iverse Murine O&2 Gene Products Are D ifferentially Expressed in the CNS

We report that two novel alternatively spliced products of the murine 01%2 gene encode Mini-Ott (Ott-2d), a protein consisting of almost only the POU domain, and Ott-Pc, a protein lacking the last 12 amino acids of Oct2a. Ectopic expression in Hela cells shows that Ott-2c is a transactivator, whereas Mini-Ott fails to transactivate if the octamer motif is in a promotor position next to TATA box...

متن کامل

Patentability of Plants, Animals and Microorganisms in India

Robyn Ott is the 2004-2005 Managing Editor for the Oklahoma Journal of Law and Technology. She wrote this eBrief while working under the direction of Professor Drew Kershen on the Project on Intellectual Property Rights in Living Matter. Below, Ms. Ott gives an overview of patentability requirements in India for plants, animals, and microorganisms. India is a signatory country to the Trade Rela...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008